home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Present…nuary (Partner) - Disc 2
/
The Apple Reference and Presentations Library (Disc 2)(January 1994).iso
/
Graphisoft
/
US English
/
ArchiCAD
/
ArchiCAD 4.5-68K
/
ArchiCAD Library
/
08 Doors & Windows
/
Window Macros
/
round_grid
< prev
next >
Wrap
Text File
|
1994-03-24
|
541b
|
48 lines
!round_grid /modified 2/16/94***VL/
!internal macro: -
!dx=a,dy=b,z=grid width,d=frame thickness
addy b/2
let i=a/2
let j=b/2
let k=c
let l=0.5*i-k
let m=(j/i)*sqr(i*i-l*l)
let n=0.5*j+k
let o=(i/j)*sqr(j*j-n*n)
if (i*i-l*l)<0 then 20
prism_ 4, d/6,
0.5*i,0.866*j,8,
l,m,15,
l,-m,8,
0.5*i,-0.866*j,15
prism_ 4, d/6,
0.866*i,0.5*j,8,
o,n,15,
-o,n,8,
-0.866*i,0.5*j,15
mulx -1
prism_ 4, d/6,
0.5*i,0.866*j,8,
l,m,15,
l,-m,8,
0.5*i,-0.866*j,15
muly -1
prism_ 4,d/6,
0.866*i,0.5*j,8,
o,n,15,
-o,n,8,
-0.866*i,0.5*j,15
20:del top
end